<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>开始使用Layui</title>
        <!-- layui.css -->
        <link rel="stylesheet" href="__LAYUT__/css/layui.css">
        <!-- layui.js --> 
        <script type="text/javascript" src="__LAYUT__/layui.js"></script>
        <script type="text/javascript">
            layui.use(['element', 'form'], function() {});
        </script>
    </head>
    <body>
        <div class="layui-header">
            <ul class="layui-nav">
                <li class="layui-nav-item"><a href="">运行中</a></li>
                <li class="layui-nav-item {if $Request.controller=='Task'}layui-this{/if}">
                    <a href="{:url('swoole/task/show')}">任务列表</a>
                    <dl class="layui-nav-child"> <!-- 二级菜单 -->
                        <dd><a href="{:url('swoole/task/create')}">新增</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="">历史日志</a></li>
                <li class="layui-nav-item {if $Request.controller=='Imtalk'}layui-this{/if}"><a href="{:url('swoole/imtalk/index')}">WEB客服</a></li>
            </ul>           
        </div>
        <div class="layui-clear"></div>
        <div class="layui-main">
            {__CONTENT__}
        </div>
    </body>
</html>
